import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:tender_flutter/constant/theme_colors.dart';
import 'package:tender_flutter/utils/screen_adaper.dart';

class FonStyle {
  /// 导航栏标题样式
  static TextStyle navTextStyle({Color textColor, int fontSize}) {
    return TextStyle(
        color: textColor == null ? ThemeColors.colorType1 : textColor,
        fontSize: ScreenAdapter.sp(fontSize != 0 ? 34 : fontSize));
  }
}
